using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class  CombatConfig : MonoBehaviour
{
    static CombatConfig instance = new CombatConfig();
    static public CombatConfig Instace => instance;

    GlobalCombatConfig config;
    public void Init()
    {
        config = ResourceManager.Instance.Load<GlobalCombatConfig>("Config/GlobalConfig/Combat");
    }

    public GlobalCombatConfig GetConfig()
    {
        //if (config == null)
        //{
        //    config = ResourceManager.Instance.Load<GlobalCombatConfig>("Config/GlobalConfig/Combat");
        //}

        return config;
    }
}
